const express = require('express')
const router =  express.Router()



// 导入用户路由对应的处理函数模块
const comments_handler = require('../router_handler/comments')
const expressJoi = require('@escook/express-joi')
// const {add_activity_schema,
//        delete_activity_schema,
//        update_activity_schema,
//        get_news_schema
//     } = require('../schema/activity')

//交流信息浏览
router.get('/commentslist',comments_handler.getCommentsList)
// router.get('/add',comments_handler.addCommentsList)
router.post('/add',comments_handler.addComments)



module.exports = router